<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
   <span  id="d1">100</span>
    <script>
        var i=100;
        function  change(){
            d1.innerHTML="活动结束";

        };
        setTimeout(change,100000);
        function  changeTime(){
    
        d1.innerHTML=--i;
        }
        setInterval(changeTime,1000);



    </script>
    
</body>
</html>